package com.school.untils;

/**
 * @program: batteryswapcloudProject
 * @description: 统一结果工具类
 * @author: CaoAMan
 * @create: 2020-12-15 15:17
 **/
public class ResultUtils {
    public static ResultEntity<Object> build(Object data) {
        ResultEntity<Object> resultEntity = new ResultEntity<>();
        resultEntity.setData(data);
        return resultEntity;
    }
}
